import Vue from "vue";
import Router from "vue-router";
import home from "@/components/home"; //首页
import container from "@/components/container"; //容器
import tableList from "@/components/tableList.vue"; //表格列表
import check from "@/components/check"; //服务协议

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "home",
      component: home,
      children: [
            {
              path: "/",
              name: "tableList",
              component: tableList,
              meta: {
                keepAlive: true
              }
            },
            {
              path: "/check",
              name: "check",
              component: check
            }
          ]
        }
      ]
});
